using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace ExchangeHog.Pop3Client.Responses
{
    internal sealed class ConnectResponse : Pop3Response
    {
        public Stream NetworkStream { get; private set; }

        public ConnectResponse(Pop3Response response, Stream networkStream)
            : base(response.ResponseContents, response.HostMessage, response.StatusIndicator)
        {
            if (networkStream == null)
                throw new ArgumentNullException("networkStream");
            NetworkStream = networkStream;
        }
    }
}
